﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using JTLeigh.Commerce.Spencer.Core.Service.Contracts;

namespace JTLeigh.Commerce.Spencer.Features.ProductFeedback.Service.Contracts.Runtime.GetProductFeedbackSummaries
{

	/// <summary>
	/// Response data contract for the <see cref="IProductFeedbackRuntimeService.GetProductFeedbackSummaries"/>
	/// operation.
	/// </summary>
	[DataContract(Name = "GetProductFeedbackSummariesRes", Namespace = "http://schemas.jtleigh.com/Commerce/Spencer/Features/ProductFeedback/1.0/Runtime/GetProductFeedbackSummaries/")]
	public class GetProductFeedbackSummariesResponse
	{

		#region Properties

		/// <summary>
		/// Gets or sets a dictionary of the product feedback summaries for the specified products.
		/// </summary>
		/// <value>An <see cref="IDictionary{TKey,TValue}"/> of <see cref="ProductFeedbackSummary"/> 
		/// keyed by fully-qualified product identifier.</value>
		[DataMember(Name = "Summaries", IsRequired = true)]
		public IDictionary<FullyQualifiedProductId, ProductFeedbackSummary> Summaries { get; set; }

		#endregion // Properties

	}

}
